<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML>
<html>
<head>
	<%@include file="/WEB-INF/views/include.jsp"%>
	
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 个人标签管理 <span class="c-gray en">&gt;</span> 标签列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
	<div class="cl pd-5 bg-1 bk-gray mt-20"> 
		<span class="l">
<!-- 			<a href="javascript:;" onclick="datadel()" class="btn btn-danger radius"><i class="Hui-iconfont">&#xe6e2;</i> 批量删除</a> -->
			<a class="btn btn-primary radius" onclick="add_person_tag('添加标签','${base}/admin/person_tag/add.do','','400');" href="javascript:;"><i class="Hui-iconfont">&#xe600;</i> 添加标签</a>
		</span> 
		<span class="r">共有数据：<strong>${list.size()}</strong> 条</span> 
	</div>
	<div class="mt-20">
		<table class="table table-border table-bordered table-bg table-hover table-sort">
			<thead>
				<tr class="text-c">
					<th width="25"><input type="checkbox" name="" value=""></th>
					<th width="80">序号</th>
					<th >标签名称</th>
					<th >描述</th>
					<th width="120">创建时间</th>
					<th width="80">操作</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${list}" var="list" varStatus="status">
					<tr class="text-c">
						<td><input type="checkbox" value="" name=""></td>
						<td>${status.index+1}</td>
						<td>${list.name}</td>
						<td>${list.description}</td>
						<td><fmt:formatDate value="${list.created}"  pattern="yyyy-MM-dd HH:mm:ss" type="date" dateStyle="long" /></td>
						<td class="f-14 td-manage">
							<a style="text-decoration:none" class="ml-5" onClick="edit_person_tag('标签编辑','${base}/admin/person_tag/edit.do?id=${list.id }','','400')" href="javascript:;" title="编辑"><i class="Hui-iconfont">&#xe6df;</i></a> 
							<a style="text-decoration:none" class="ml-5" onClick="person_tag_del(this,'${list.id}')" href="javascript:;" title="删除"><i class="Hui-iconfont">&#xe6e2;</i></a>
						</td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
	</div>
</div>
<script type="text/javascript" src="${base}/common/js/person_tag/list.js?v=${v}"></script>
</body>
</html>